package com.neutech.runtime;

import com.neutech.base.Constant;
import com.neutech.base.Sprite;

public abstract class Pencil extends Sprite {

    @Override
    public void move(){
        setX(getX()-2);
        if (getX() +getWidth()<=0){
            Constant.gameFrame.pencilList.remove(this);
            Constant.gameFrame.isAddScore = true;
        }

    }
}
